import request  from "@/utils/request";

export function startProcess(data){
  return request({
    url: '/leave/start',
    method: 'post',
    data: data
  })
}

export function list(params){
  return request({
    url: '/leave/list',
    method: 'get',
    params: params
  })
}

export function getFormById(id){
  return request({
    url: '/leave/getFormById',
    method: 'get',
    params: {id}
  })
}
